<?php
namespace app\admin\controller;
use think\Controller;

class Usermember extends Base
{
    // 页面数据查询
    public function index()
    {
        // $where = array();
        // $field = "id,account,nickname,level,equity";
        $Usermember = model('Usermember');
        $res = $Usermember->class();
        if($res){
            $data = $res;
            $this->assign('data',$data);
            return $this->fetch();
        }else{
            $this->error('查询失败');
        }
        return $this->fetch();
    }

    // 会员添加
    public function add(){
        
        return $this->fetch();
    }
}
